<h1>Picture Gallery</h1>
<% for pic in @pics -%>
  <%= link_to image_tag(pic.public_filename(:thumb)), pic.public_filename %>
<% end -%>
